package com.newly.common.base.constants;

/**
 * @program: newly-parent
 * @remark: 字典常量
 * @author: guan
 * @create: 2021-12-20 20:11
 */
public interface DictConstant {

    /**
     * 字典属性，说明了字典的类型与code编码
     */
    enum DictProperty {
        // 菜单能力实体
        MENU_CONFIG(10000, "菜单配置");

        DictProperty(int type, String remark) {
            this.type = type;
            this.remark = remark;
        }

        /**
         * 字典类型
         */
        private int type;

        /**
         * 菜单编码
         */
        private String code;

        /**
         * 备注
         */
        private String remark;


        public int getType() {
            return type;
        }


        public String getRemark() {
            return remark;
        }
    }
}
